package com.gugu.procedure.dao;

import com.gugu.procedure.bean.Staff;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface StaffDao extends JpaRepository<Staff, Long>, JpaSpecificationExecutor<Staff> {

    Staff findTopByNumber(String number);
}
